<tagLib name="strends" />
<include file="Public:header" />
<div class="handle-btns">
	<strends:linkBtn text="{%RETURN_LIST}" href="{:U(MODULE_NAME.'/index')}" />
</div>
<style>
.fashion_element span { background-color:#8ABD0F; border-radius:3px; padding:3px 5px; color:white; cursor:pointer; margin-right:10px }
</style>
<form method='post' id="form" name="form" action="{:U(MODULE_NAME.'/update')}" enctype="multipart/form-data">
<table cellpadding="4" cellspacing="0" border="0" class="table-form">
	<tr>
		<th width="150">{%TITLE}</th>
		<td><input type="text" class="textinput requireinput" name="title" value="{$vo['title']}" /></td>
	</tr>
	
   	<tr>
		<th>{%PIC}</th>
		<td>
			<input type="file" class="fileinput" name="pic" size="30" />
			<if condition="$vo['pic'] neq ''">
				<a href="__ROOT__/res/{$vo['pic']}" target="_blank" >{%VIEW}</a>
			</if>
		</td>
	</tr>
	
	<tr>
		<th>文章链接</th>
		<td>
			<input type="text" class="textinput requireinput" name="url" value="{$vo['url']}" />
		</td>
	</tr>
	<tr>
		<th>{%SORT}</th>
		<td>
			<input type="text" class="textinput requireinput" name="sort" value="{$vo['sort']}" />
		</td>
	</tr>
	<tr class="act">
		<th>&nbsp;</th>
		<td>
			<input type="hidden" name="id" value="{$vo['id']}" />
			<input type="submit" class="submit_btn" value="{%SUBMIT}" />
			<input type="reset" class="reset_btn" value="{%RESET}" />
		</td>
	</tr>
</table>
</form>
<include file="Public:footer" />
<script type="text/javascript" src="__TMPL__Static/Js/jquery.js"></script>
<script type="text/javascript" src="__TMPL__Static/Js/base.js"></script>
